package org.microservice.common.oss;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 * User: 齐丹枫
 * Date: 2018/8/23
 * Time: 15:09
 * To change this template use File | Settings | File Templates.
 * Description:
 */
@Data
@Component
@RefreshScope
@ConfigurationProperties(prefix = "qiniu")
public class QiniuCloudStorageProperties {

    private String accessKey;

    private String secretKey;

    private String bucket;

    private String path;
}
